<template>
	<view class="container">
		<view class="wrapper">
			<view class="logo">
				<image src="../static/bg.png" class="bg"></image>
				<image src="../static/tj.png" class="tj"></image>
			</view>
			<view class="desc">
				正在分析中。。。
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "Loading",
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		z-index: 999;
		background-color: #fff;
		display: flex;
		justify-content: center;
		align-items: center;

		.wrapper {
			width: 300rpx;
			margin-top: -10%;

			.logo {
				position: relative;
				width: 300rpx;
				height: 300rpx;

				.bg {
					width: 300rpx;
					height: 300rpx;
					position: absolute;
					animation: rotate360 5s linear infinite reverse;
				}

				.tj {
					width: 300rpx;
					height: 300rpx;
					position: absolute;
					z-index: 1;
					animation: rotate360 5s linear infinite;
				}
			}

			.desc {
				text-align: center;
				margin-top: 80rpx;
				font-size: 32rpx;
				color: #555;
			}
		}
	}


	@keyframes rotate360 {
		from {
			transform: rotate(0);
		}

		to {
			transform: rotate(360deg);
		}
	}
</style>